package com.hotel.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 类说明
 * @author:khz
 * @date:2022/8/17
 * @description:数据返回的工具类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultInfo {
    private Integer code;
    private String msg;
    private Object obj;

    public ResultInfo(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}